const Tweener = imports.ui.tweener;
const ViewSelector = imports.ui.viewSelector;
-const SIDE_CONTROLS_ANIMATION_TIME = 0.2;
+const SIDE_CONTROLS_ANIMATION_TIME = 0.16;
function getRtlSlideDirection(direction, actor) {
let rtl = (actor.text_direction == Clutter.TextDirection.RTL);
this._activePage.show();
Tweener.addTween(this._activePage,
{ opacity: 255,
- time: OverviewControls.SIDE_CONTROLS_ANIMATION_TIME / 2,
+ time: OverviewControls.SIDE_CONTROLS_ANIMATION_TIME,
transition: 'easeOutQuad'
});
},
if (oldPage && !noFade)
Tweener.addTween(oldPage,
{ opacity: 0,
- time: OverviewControls.SIDE_CONTROLS_ANIMATION_TIME / 2,
+ time: OverviewControls.SIDE_CONTROLS_ANIMATION_TIME,
transition: 'easeOutQuad',
onComplete: Lang.bind(this,
function() {